package pers.cl.dubbo.api.service;

import pers.cl.dubbo.api.model.User;

import java.util.concurrent.CompletableFuture;

/**
 * @author chenlei
 * @date 2020/1/9
 * @description
 **/
public interface UserService {

    String sayHello(User user);

    /**
    * 异步
    **/
    CompletableFuture<String> async(User user);

    void addListener(String key, CallBackListener listener);


}
